"""
@author: xxw
@file: settings.py
@time: 2023/7/31 20:01
"""

DEBUG = True
HOST = "0.0.0.0"
PORT = 9000

#数据库的设置
DB_HOST = "192.168.116.134"
DB_USER = "xxw"
DB_SCHEM = "mango"
DB_PORT = 3306
DB_PASSWD = "123456"

# orm数据库连接设置            #用户名：密码@数据库地址：端口/数据库名
SQLALCHEMY_DATABASE_URI = "mysql+pymysql://xxw:123456@192.168.116.134:3306/mango?charset=utf8"

# 内部私钥
SECRET_KEY = "123456"
# 过期时间
EXPIRES_IN = 8000